Public Class NTrimestre
    Public Function calcularPromedioTrimestral(ByVal trimestre As Entidades.ETrimestre, ByVal alumno As Entidades.EAlumno, ByVal asignatura As Integer, ByVal ciclo As Integer) As Single
        Dim datostrim As New Datos.DTrimestre
        Dim prom As Single = -1
        Try
            prom = datostrim.calcularPromedioTrimestral(trimestre, alumno, asignatura, ciclo)
        Catch ex As Exception
            Throw New ArgumentException(ex.Message)
        End Try
        Return prom
    End Function

    Public Function buscarNotasAlumno(ByVal trimestre As Entidades.ETrimestre, ByVal alumno As Entidades.EAlumno, ByVal asignatura As Integer, ByVal ciclo As Integer) As List(Of Entidades.ENota)
        Dim datostrim As New Datos.DTrimestre
        Dim lista As New List(Of Entidades.ENota)
        Try
            lista = datostrim.buscarNotasAlumno(trimestre, alumno, asignatura, ciclo)
        Catch ex As Exception
            Throw New ArgumentException(ex.Message)
        End Try
        Return lista
    End Function
End Class
